package cz.spock.cms.entity;

import javax.persistence.Entity;
import javax.persistence.Id;

import com.googlecode.objectify.annotation.Unindexed;

/**
 * for persisting cascade style sheets
 * name must be unique
 * name must end with ".css"
 * 
 * @author miso
 *
 */
@Entity
public class CSS {

    @Id
    private Long id;
    private String name;
    @Unindexed
    private String description;
    @Unindexed
    private String css;
    
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public String getCss() {
        return css;
    }
    public void setCss(String css) {
        this.css = css;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    
    
}
